package aml.bs;

import com.alibaba.nacos.api.annotation.NacosProperties;
import com.alibaba.nacos.spring.context.annotation.EnableNacos;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * @Title: aml.bs.ESPTApplicationLoader
 * @Author duxuqiang02
 * @Date 2023/9/17 11:11
 * @description: Spring容器加载
 */
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableNacos(globalProperties = @NacosProperties(serverAddr = "your-server-address"))
public class BYSJApplicationLoader {
    public static void main(String[] args) {
        SpringApplication.run(BYSJApplicationLoader.class,args);
    }

}
